package DBTasks;

public class Adoption {
    private String name, phone, address, type, dateOfBirth;
    private int petId;
    
    public Adoption(String name, String phone, String address, String dateOfBirth, int petId, String type){
        this.name = name;
        this.phone=phone;
        this.address=address;
        this.type=type;
        this.dateOfBirth=dateOfBirth;
        this.petId=petId;
    }

    public String getName() {
        return name;
    }

    public String getPhone() {
        return phone;
    }

    public String getAddress() {
        return address;
    }

    public String getType() {
        return type;
    }

    public String getDateOfBirth() {
        return dateOfBirth;
    }

    public int getPetId() {
        return petId;
    }
    
    public String toString(){
        return name + " " + phone + " " + address + " " + type + " " + dateOfBirth + " " + petId;
    }
}
